import { createApp } from 'vue'
// import './style.css'
import App from '@/App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
/* eslint-disable */
import 'virtual:svg-icons-register' // eslint-disable
import globalComponent from '@/components/index.ts'
import router from "@/router/index.ts"
import { createPinia } from "pinia";
import '@/style/index.scss'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(ElementPlus, {locale: zhCn,}).use(router).use(createPinia()).use(globalComponent).mount('#app')
